package com.dataType;

public class aaa {
    public static void main(String[] args) {
        int i = 0;
        int sum = 0;
        while (i<=100){
            sum+=i;
            ++i;
            //i++;
            //i+=1;
            //i=i+1;
        }
        System.out.println(sum);


/*        int strCount = 1;
        for (int i1 = 1; i1 <=5000; i1++) {
            if (i1%5 == 0){
                System.out.print(i1+"\t");
                if (strCount%3 == 0){
                    System.out.print("\n");
                }
            }

            strCount++;

        }*/

        lableBreak();
    }

    static void lableBreak(){
        outer:for (int i = 101; i < 150; i++) {
          for (int j =2; i>2*j ;j++){
              if (i%j == 0) {
                  //跳到外层得循环去 continue
                  continue outer;
              }
            }
            System.out.println(i);
        }
    }
}
